<?php 
/*******************************************************************************
********************************************************************************
***                                                                          ***
***   Filename: panel.php                                                    ***
***   Use: Include all the elements needed to display the panel              ***
***   Author: Al Wilde                                                       ***
***                                                                          ***
********************************************************************************
*******************************************************************************/
ob_start();

include("lib/config.php"); 

if (checkrank(1, $operator = '==') == true or checkrank(2, $operator = '==') == true or checkrank(3, $operator = '==') == true or checkrank(4, $operator = '==') == true) {
	include("lib/core_theme/theme.php"); 
} else if (checkrank(4, $operator = '<')) {
	header("Location: login.php"); 
}
?>